#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int lower, upper, fahr;
    double celsius;
    scanf("%d %d", &lower, &upper);
    if (lower > 0 && lower <= upper && upper <= 100) {
        printf("fahr celsius\n");
        for (fahr = lower; fahr <= upper; fahr += 2) {
            celsius = 5 * (fahr - 32.0) / 9;
            printf("%d %5.1lf\n", fahr, celsius);
        }
    }
    else {
        printf("Invaild.");
    }
    return 0;
}